package com.dongwu.security.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dongwu.common.service.impl.BaseServiceImpl;
import com.dongwu.security.dao.GroupDao;
import com.dongwu.security.entity.Group;
import com.dongwu.security.service.IGroupService;


@Transactional
@Service
public class GroupServiceImpl extends BaseServiceImpl<Group, String> implements IGroupService {
	@Autowired
	private GroupDao groupDao; 
	
	@Override
	public Group findByName(String name) {
		return groupDao.findByName(name);
	}
}
